import { connect } from 'react-redux'
import Footer from '../components/Footer/Footer'
import { updateAllTodo,clearAllDone } from '../redux/actions'
// 由于App组件不需要修改redux数据,所以不写mapDispatchToProps
export default connect((state) => ({ list: state.list }), { updateAllTodo,clearAllDone })(
  Footer
)
